package com.example.jzlx.controller.contract;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import com.example.jzlx.service.contract.iContractService;
import com.example.jzlx.dao.contract.contractDao;

public class contract {

    @Autowired
    private iContractService contractService;

    public contractDao add(@RequestBody contractDao contract){
        boolean data  =  contractService.addContract(contract);

        return contract;
    }
}
